del *.bak *.so *.o /f /s /q /a

for /f "tokens=*" %%a in ('dir .svn /b/ad/s') do (
rmdir /s /q "%%a"
)